﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.Core.Data;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Organization
{
    /// <summary>
    /// 经纪人登录名表
    /// </summary>
    public class UsersLoginLog : EntityBase<int>
    {
        /// <summary>
        /// UsersLogin表ID
        /// </summary>
        public int UsersLoginID { get; set; }
        /// <summary>
        /// 经纪人ID
        /// </summary>
        public int  UserID { get; set; }
        /// <summary>
        /// 中介ID
        /// </summary>
        public int IntermediaryID { get; set; }
        /// <summary>
        ///  登录IP
        /// </summary>
        public string LoginIP { get; set; }
        /// <summary>
        /// 登录页面
        /// </summary>
        public string LoginPage { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }
        /// <summary>
        /// 登录日期 格式：yyyy-MM-dd
        /// </summary>
        public string LoginDate { get; set; }
        /// <summary>
        /// 登录系统
        /// </summary>
        public string LoginOs { get; set; }
    }
}
